package tihi.com.horizotalscrolldemo.base;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

/**
 * Created by tihi on 2017/5/8.
 */

public abstract class AbsListItem {
	protected Context mContext;
	protected LayoutInflater inflater;
	
	public AbsListItem(Context context) {
		mContext = context;
		inflater = LayoutInflater.from(context);
	}
	
	public abstract View getView(int position, View convertView, ViewGroup parent);

}
